package com.shinewind.info.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shinewind.info.mapper.IUserInfoMapper;
import com.shinewind.info.service.IUserDetailService;
import com.shinewind.pojo.entity.UserDetail;
import com.shinewind.pojo.entity.UserInfo;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
@DubboService
public class UserDetailServiceImpl extends ServiceImpl<IUserInfoMapper, UserDetail> implements IUserDetailService {
    @Override
    public UserDetail getUserDetailById(String uId) {
        UserDetail userDetail = this.lambdaQuery().eq(UserDetail::getUId,uId).one();
        return userDetail;
    }
}
